Answer
Umar removed Khalid from his high military command because he feared his popularity would threaten his own. Khalid was a skilled general and had won many victories for the Muslim army, but he was also a harsh ruler and had a reputation for being ruthless. Umar was worried that Khalid's popularity would make him a threat to his own authority, so he removed him from his command.