If your car AC only gets cold when accelerating, it might be due to a low refrigerant level, a failing compressor, a damaged condenser, or issues with the AC's electrical system. It’s recommended to have the AC system inspected by a professional to accurately diagnose and fix the issue.