When the gas expands versus an outside stress, the gas needs to transfer some energy to the surroundings. Hence, the unfavorable job reduces the general power of the gas.