Miyazaki wanted it to have a happier ending, but was told not to. That actually happened.