The concern is creepage and clearance between/across resistor strings, the connectors, most of the odd looking layout is to keep generous spacings to the corner mounting screws.
I'm not sure what the operating voltage and surge voltage specs are for an EV here.
I would say it's not a really great design, looks more like something from a worried, inexperienced designer and PCB layout person. The exposed metal (for mounting) on the TE/AMP connectors is a concern, what is that about. There's no conformal coating there, you can see the mask. Oops shoulda had a slot and them further apart. Common noob mistake is thinking there's conformal coating somewhere it isn't, and then using the incorrect spacings.
Vishay MELF
MMA 0204 operating voltage is 200V each, 1.5mm pad spacing and 19 of 10k resistors to the divider node... is a bit crazy to make it good for 3.8kV operating? Yes they need to be AEC-Q200 and high stability.
This kind of circuit (voltage monitoring) was a problem with smart energy meters. Without really impulse testing it, if the spacings are adequate is just a theory especially with moisture present.
Smart meters being in OVC Cat. IV would breakdown and arc inside, and because there are no fuses, it started bad house fires. Then UL/CSA realized they should probably have some standard (UL 2375) and get smart meter manufacturers to comply and actually test their products.
It's a good question - to what standard are the EV makers testing to for HV spacings? Safety standards always lag behind so it's likely this is loosy-goosy.