Because no Google Map contributor has corrected the hours. The map database is publicly maintained.
About three years ago this McDonald's was open 24hrs during the summer months. I would guess that it was not profitable and they stopped. I cannot say why Google's information has not been updated.
Thanks! Your answer is awaiting moderation.