Could be your side switch is set to lock rotation. See if you have accidentally switched it in. If the orange dot is showing AND lock rotation is selected in Settings, that will do it.
Rebooting solved the problem. It's worth remembering that the effects of the side switch remain in force when the use of the switch is toggled in Settings. That should be the first suspect whenever rotation is lost or apps are muted.