False. Mexico was already independent. The settlers, largely from Tennessee, came in order to support the Texas independence movement. Not Mexican independence from Spain.
The U.S. military is subordinate to the Federal (civilian) government. Note that the US Congress controls the budget, and that the President is required to ask for a declaration of war, and the Congress then votes to approve or disapprove the request.