Pension funds less than 1% invested in energy projects

Yet they’ll invest in dicey real estate and toxic slop derivatives. Makes no sense to me. People will always need energy, so why not invest in it?