The thermal energy of a substance is the total amount of energy- potential and kinetic energy contained in it. It depends on the temperature, mass and phase of the substance.
Since, the both the containers contain liquid water at same temperature, greater mass would have greater thermal energy. Thus, container having 1000 mL of water would have greater thermal energy.
The formation of the outer planets are affected by their
distance from the sun with having them to maintain the lighter elements that
they are composed of such as the hydrogen and helium, having them far away will
also make their planet more cooler as the sun is distant from them.
Of course! If it's harmful, then your exposure to it should be kept to a minimum. That's a no-brainer. But the sun's infrared radiation is generally less harmful than its ultraviolet radiation is.