The oil from that oil refinery goes directly to fueling military vehicles used to invade Ukraine, as well as getting sold to fund the invasion. It's a clear military target.
The invasion is clearly immoral and illegal – even genocidal. The people working at that refinery damn well know what they're supporting and killing them to stop the war is both ethical, and effective.