I don't know what people expect Ukraine to be doing right now? The infrastructure isn't there to now being organising a co-ordinated evacuation of all foreign nationals in their territory, whilst also fighting Russia on multiple fronts. The country is absolutely massive with vast distances between sizeable cities, and even in peacetime travel is very difficult and time-consuming due to poor infrastructure. There are no motorways in the whole country, except for a short distance between Kyiv and the main airport. There are no flights in or out of the country. There is a severe shortage of rolling stock on the train network.
This is exactly why the US, the EU and the UK told their nationals to get out whilst they could, because they knew exactly this would happen. Usually you turn to your embassy at a time like this for assistance for fleeing from a country in a crisis, but that offer internally from most embassies has now largely dried up. It's like Afghanistan all over again. I see India is trying to organise some busses now for their nationals from Kharkiv, because the suggestion is that their government has spoken to Russia on allowing them some breathing room to get their students out.
It's a massive logistical challenge for Ukraine to even prioritise getting children and their mothers away from the fighting, let alone other adults, especially men of fighting age.
I haven't once called or supported ignoring foreigners internally. What I have said is that people will be prioritised for the processing at borders (where everyone is safe anyway), both for efficiency reasons and for needs-based reasons, and that the very limited transport out of big cities will also be likely be prioritised along similar lines, especially for women and children.