Can Ukrainian men leave Ukraine?

I'm asking this cause I'm noticing quite a lot of them in my city / area and I find it surprising since apparently they aren't allowed to do so, 2 years ago we had Ukrainian women as refugee but they seem to all have been coming back to Ukraine since i haven't heard / seen them but I see quite a lot of Ukrainian men here now (I know they're Ukrainian because of their car plate).

Can Ukrainian men leave Ukraine?
Post Opinion