Omg the Thanos thing drives me CRAZY and I don't know why everyone else just gives it a pass.
There was no attempt at diplomacy with Thanos. If they just had a few diplomats talk about their needs, Thanos would have realized pretty quick that killing half of the humans wouldn't be the best way to obtain his goal.
Here's the proposition: how about you snap your fingers and make 99% of the population of overpopulated species sterile?
It would be wayyy more effective at meeting Thanos' goal (of reducing suffering caused by overpopulation) and literally nobody has to die!