Because that's exactly what means to be a mass. You can't call something a mass if it does not curve spacetime.