Yeah that was a huge red flag. Classic power tripping CEO move to arbitrarily inject a deadline for a new project mid-sprint which then forces your team to work all-nighters and still have them deliver on all their sprint work.
If I worked there I'd be immediately looking for a new employer, I guarantee this isn't the first time they've done stuff like this over the years.