I read this as a logistical question rather than a moral one. What happens when two farmers can't agree on where their property boundaries sat prior to the war, the fences got ripped out after one side used the area as a staging ground, and any records have been blown up by glide bombs? What happens to the real, physical land that's covered in mines and needs to be either cleared or fenced? Where can Maria and her family stay tonight, next week, and where will they end up? These aren't (necessarily) problems for the military to solve.
Good points all. Like the other poster said, though, first the war must end. It's to our shame (meaning the West's) that Ukraine isn't well into the suing-Russia-for-reparations phase.