Nobody except Israel is setting civilian homes as targets for their rockets. Not all energy infrastructure is even remotely „dual use“ (and this label is itself propaganda used to justify strikes on non-military targets).
Nevertheless, this is the one of the vanishingly few conflicts where there is a good guy and a bad guy. Sometimes the universe gives us a break from endless grey areas. This is one of those!
If you find the idea of an autonomous sovereign state defending it's borders 'triggering' I might suggest some soothing jazz and a warm milk.
All the best
And the reason is not just rules of engagement - such targets simply have negative value for attacker.