They are part of the same system. There used to be only one light, but since leaving the gas cap loose was a major reason for the light to come on, and there was no easy way to know that, the "check gas cap" light was added.
It may still be under warranty. The warranty on emissions systems is different from the rest of the car.