The Sun is not getting larger and hotter. If it was, then the temperature on Earth would be rising in the upper layers of the atmosphere, but the rise can be seen only in the layer below the greenhouse gases. Therefore, the Sun is not responsible for the effects of global warming.