That is because of server SQL Mode – NO_ZERO_DATE.
From the reference: NO_ZERO_DATE
– In strict mode, doesn’t allow '0000-00-00'
as a valid date. You can still insert zero dates with the IGNORE option. When not in strict mode, the date is accepted but a warning is generated.