I paid more in federal taxes in 2024 than was owed for the entire year of 2023. Why is there a penalty?

Why do I have a penalty when I have already paid more in taxes than were due for entire previous year?