I always thought it was referencing beauty and the beast. Cause the same things happen in beauty and the beast. In Aladdin it's not a spell. It's just a genie with magic. In beauty and the beast it's actually a spell on the castle.
I hate it when people always say "frozen is the first disney movie to blah blah blah!" Well pay more attention to less mainstream disney movies and start getting an education, uncultered swines! ^^Yep I totally agree