There are many possibilities, including airflow restrictions, electrical problems, refrigerant issues, frozen coils, thermostat problems or outdoor-unit failures. Proper diagnosis is important before replacing parts.