It is known as unrequited love. A lot of people go through this, either in the form of an unrequited crush, or even when one person in a long-term relationship falls out of love with the other.