Apparently George wrote this during the film sessions of what would become the Let it Be movie. If you've seen the movie, you see how he uses the then new invention of the wah wah pedal on almost every song-at least that's what I've heard