Why do guys

Seem into and say they are interested in you then suddenly act as if you're no longer there? Like they just don't wanna know you. I should be used to it by now but it doesn't take away the sting