Because love has "greedy" tendency. You can't help to fallin love. Moreover, you often spend time with that person, even though you know what their relationship status is.
I know that feeling, because I've been there too. My only choice at that time was to keep my feeling to myself, distancing...