Good Morning
Managers need to have some sense of time and norms because texting an employer at midnight is neither polite nor professional. This boss left messages for an employee in the middle of the night and expected the person to be there at the said time.
It was a four-hour notice to show up at the office for some unexpected work. Fortunately, the OP didn’t even see the text messages until later in the morning. We suggest that even if you see such messages from your boss at midnight, pretend you were sleeping.