They are both loaded to the same pressure - 35k PSI.
The .40, however, has a higher std. pressure muzzle energy, w/ a resultant increase in recoil and slide velocity.
The .40 simply has a larger diameter case and case head which results in more hoop stress and bolt thrust at the same pressure. 27% more area = 27% more stress and thrust.