Since it’s a sub-panel, then there should be isolated neutrals and grounds. Looks like the electrician didn’t have a separate ground bar to install in the panel, and just connected all the grounds to the box … :roll: … and I am assuming the same thing happens at the feeder to the sub-panel, where the ground is also just connected to the box.
Whether it’s 14-3 or 12-3 wire, it’s a good question. There are 13 hot wires, but only 8 neutral wires at the sub-panel.
Looks to be five 120V circuits (hot and neutral), one pure 240V circuit (2 hots on a 2-pole breaker), one 240V/120V circuit (2 hots on a 2-pole breaker and a neutral), and two (2) circuits that are either 240V/120V or multi-wire circuits (two hots and a neutral).
The last two circuits mentioned (where you see both a red and black wire going to individual single pole breakers, and I assume a neutral wire to the neutral bar) may be multi-wire circuits that feed two separate 120V circuits with a shared neutral … which is okay sometimes as long as it’s wired correctly and there is a handle tie to shut down both breakers simultaneously … or could have just been wired wrong or there may be an overloaded neutral. Either way a sparky is needed for repairs.
JMO and 2-nickels …