AI struggles with COBOL due to severe limitations in public training data, as most of its code is proprietary and locked behind enterprise firewalls, hindering AI's ability to learn, refactor, or document effectively for systems processing 95% of ATM transactions.