An open container is placed in atmosphere. During a time interval, temperature of atmosphere increase and then decreases. The internal energy of gas in container
A. First increases then decreases because internal energy depends upon temperature
B. First decreases then increases
C. Remains constant
D. Is inversely proportional to temperature