Most phones will get hot when doing graphics-intensive tasks for any period of time.
Check out higher-end graphics cards for PCs - notice how they all have big heatsinks and/or their own cooling fans? Graphics processing is the most processor-intensive task your phone or PC performs.