It's a war. They've had multiple years to leave.
Like it or not, they're making an important material contribution to Russia's war effort. The oil refinery itself is clearly a valid military target. If they don't want to die, the onus is on them to find a way to not be there.