In the second phrase you started to study 2 years ago but you still studying. Is a action in progress.
This is the difference for me, but I'm not a native English speaker.
Thank you!