That would be a rational response. The psychology here is not rational and is based on evolution under conditions where small tribes competed for scarce resources over a wide area.
Scarcity -> Identify a vulnerable out group -> Attack out group and steal their hunting grounds
Our brain stems don't know what millennium they are in.