The way he phrases it is as if Ukraine asked him to enable them to make the attack. They asked him to switch it back on, because he had explicitly disabled service in the area, after giving the devices to Ukraine in the first place.
So they can Netflix and chill during the Russian invasion. That's definitely what these devices were for. No way Elon could've known there was any military usage in a country desperately fighting for it's existance.
He's said as much... That's the really fucked up part. He's behind
“Starlink was not meant to be involved in wars. It was so people can watch Netflix and chill and get online for school and do good peaceful things, not drone strikes”.
-Elon Musk
Like... 'don't worry about the war crimes, just Netflix and chill, Ukraine.'