Framing nailer vs wires

Who thinks this is ok? The flipper was trying to connect some overhead soffit framing to the stud wall, but the pieces never had any overlap. Using a pneumatic framing nailer, they just kept on nailing into nothing, even contacting some wires above the ceiling! With the soffit framing worthless, the flipper ended up screwing the drywall directly into the HVAC.

Stud wall framing above a ceiling shows many sharp framing nails touching some large electrical wires.