While Gray is technically in an android body, it does not have the strength and resilience as other androids such as Data. When Hugh was describing the body to him and Adria he said that while it was synthetic it will age and function exactly like a human body, so it goes to reason he wouldn't have survived the intense heat.