Violations (NEC 2020) -
352.30 - Securely fastened within 3' of boxes, conduit bodies and any other terminations. Since the code says within 3', any stick less than 3' still needs to be secured.
240.21 - ATS service OCPD is 400A and you have 4/0 (AL or CU) from it in parallel to separate panels of a distance greater than 25'. To correct this, you can use that wireway above the panel boards as a place to splice. So install Polaris taps and then you can run the 4/0 to the panel since it is less than 25' (and maybe less than 10').
334.30 / 314.17 - NM cable (Romex) needs to be secured before it enters the box.
250.109 / 250.122 / 250.148 / 314.40(D) / 314.4 - After the Polaris taps, the largest OCPD for the gutter box is 4/0 so the EGC needs to be sized to the 400A OCPD and bonded to the box with all of the other EGCs (with circuits that are spliced) in that box.