Military-aged men illegally crossing borders are a military assault on the country they are entering or they are deserters.
If there is injustice in their home country, military aged men have the duty to fight against the injustice at home.
They have no right to run away.