The US military is widely misunderstood to be a force for good, as they spend a lot of tax money on various initiatives, some overt (such as paying the NFL and others to purchase time
to perform military displays before events) and some way more subtle (such as demanding final script review of Hollywood films
in which DoD resources are used), to promote that view.
Ultimately, the US military serves as an organization that uses violence to promote the interests of the people who control the US military (as a distinct set from the US people, who are fairly uniformly and consistently against any type of military violence).
Sometimes the results of that can be termed "good". Usually, they can't. When the branding and the outcome line up, it's a happy accident.
The US will invade wherever there is profit for those who control the military and associated businesses. If such can be spun toward a humanitarian end, all the better.