Check engine light: A faulty gas cap can also cause the check engine light to come on because it can trigger a code for a small evaporative emissions leak.
Ticking acceleration: A faulty gas cap can also cause a ticking noise during acceleration because it can allow air to enter the fuel system, which can cause the fuel injectors to become noisy.
Overall, a faulty gas cap can cause a number of problems, including rough idle, check engine light, and ticking acceleration. If you are experiencing any of these problems, it is important to check the gas cap to make sure it is properly sealed.