You could have just estimated your income taxes ahead of time and saved enough to pay it before the due date, but why risk jailtime when there is automatic tax withholding available to you?
It’s worse when you’re operating a business and you have to pay quarterly estimated taxes.