I've been playing the electric guitar for approximately a year and a half and previously had some years playing acoustic. I was watching other people (including newbies) playing guitar and noticed that if they use their index finger and then the pinky, the ring finger stays over the fretboard and doesn't touch any other string. When I do the same, my ring finger always moves in one direction with the pinky. Thus, when I want to press, let say, 8th fret with my pinky, the ring finger follows it and lands on the 7th fret. The single alternative for me to prevent these useless touches is folding it down. But this is not good as the "unfolding" takes more time than just landing.
As a result, my legatos may sound quiet, and the speed suffers, especially when playing descending scales. I'd like to know: is it normal behavior? If so, how can I avoid this? What I supposed to do for that? Could you, please, share some effective exercises (not necessarily related to the guitar)?
I attach a GIF for better understanding. FYI,I had no finger trauma.