This needs just a little math to explain :)
The 7th fret approximately divides the string in such a way that the distance between fret and bridge is 2/3 of the original string length. Thus you get a note with (3/2) the base frequency, i.e. one fifth interval higher.
It also leaves 1/3 (=1 -...