Most stock 12V alternators are Lundell alternators. These are not particularly efficient, and they also don’t scale up well to 24V. They are, however, cheap
to build. The heat comes from inefficiency, so you may
find that a 24V alternator might be built differently and might be more efficient and thus will produce less heat for the same power output. But this all depends on the specific alternator models.