To me it appears like these openings help with reducing the weight of the cars, removing material from the sheet-metal where it is not needed, as in the cavities cast inside truck side frames & coupler components on prototype trains.
These are just my opinion
Thanks,
Naveen Rajan