My guess is that it was going to be part of the movie but ended up getting cut for editing reasons. (The whole "hair as weapon" bit is probably inconsistent with character for the rest of the movie)
I'm not familiar with Tangled, but by the time Disney got to Frozen, there was a trailer with Olaf & Sven that is basically a stand-alone scene not in the movie at all (intentionally). It's impressionistic more than trying to represent the film literally.
https://www.youtube.com/watch?v=wCxuxrLNrsw
My guess is that it was going to be part of the movie but ended up getting cut for editing reasons. (The whole "hair as weapon" bit is probably inconsistent with character for the rest of the movie)