This panel cover is not flushed to the circuit breakers and has gaps with visible wiring. Is this unsafe and a code violation?
They know not what they did!
So this is an outdoor-rated "NEMA 3R" panel. You notice there's a very particular "dance" that the swinging door cover does in order to latch in and provide watertightness. As such, the deadfront cover has a very specific correct orientation. Therefore my original theory - that they put the deadfront on upside down - is not possible. It only goes one way.
Indoor panels are quite different, they can be mounted upside-down anytime you please. That's why the breakers go left and right, so inverting them doesn't make "off" "up". So it's perfectly routine with indoor panels to mount it upside down if that will make it reach the existing wires easier.
Here's one of my favorite tricks: Panel manufacturers sell many, many panels, but make only a few box sizes. You can see this in the Eaton panel catalog. What makes one panel different from another is the deadfront cover and the bus assembly. The bus assembly is everything that isn't the box itself. It unbolts with 3-4 screws, and like I say, many panels use a few boxes.
But the deadfront cover must match the bus assembly, so the breakouts line up with the breakers! That's what has gone wrong here.
So they did one of two things. Either they found short feeder wires, considered the normal trick of flipping the whole panel upside down, realized that does not work with an outdoor panel, and flipped the bus assembly over instead. Or, they "kitbashed together" one panel's bus assembly with another panel's deadfront cover.
So all they need to do is buy a matching cover for that bus assembly. And, if they flipped it over, un-flip it, which will require extending the feeder wires. It's an annoyance as it requires three $20 Polaris connectors, but it can be done.
They may have to buy a whole new panel to get an intact deadfront. Panel manufacturers do sell deadfronts, but generally for indoor panels so they can sell the same panel surface-mount (normal box lid) or flush-mount (extended flare to cover drywall edge).