Different geometric data can be obtained from the same geometry

I have a geometry, and exporting it as a whole is not the same geometry as exporting it separately.



The above two images show the model in sketchup.
When I used the sketchup sdk to get the geometry data, it was as follows.


Why does this happen? Can anyone answer that? Thank you very much!

Please do not post images of code or data. Post the code or data properly delimited.