May also have been a subtle way to help protect in case the castle was stormed. I’ve certainly heard of castles where the steps were sometimes irregular heights - those who lived there would be used to it, but invaders would not and would find it harder to move effectively. A differently spiralling stair might have the same effect.