Which aerial do you mean?
Some (but not all) EGPWS use GPS for accurate position information. The GPS aerial would need to be on the roof to be line of site with the satellites.
The radio altimeters used by standard and enhanced GPWS obviously need to be on the belly.