Janus Funk says that all kinds of energy, including things like pressure and stress, contribute to the curvature of spacetime. The only physical effect in good old classical Newtonian mechanics is differences in potential energy. In general relativity, it's a little bit different because the total amount of energy does matter. But there's another subtlety on the right hand side of Einstein's equation which tells you the source for gravity.
Welcome to the March 2023 Ask Me Anything episode of Mindscape! These monthly excursions are funded by Patreon supporters (who are also the ones asking the questions). We take questions asked by Patreons, whittle them down to a more manageable number — based primarily on whether I have anything interesting to say about them, not whether the questions themselves are good — and sometimes group them together if they are about a similar topic. Enjoy!
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.