Foam tape or protection sleeves can protect the pex from excess heat and freezing. But to protect it from surrounding gravel, it is best to pour some sand around it.