How do you know a guy isn't interested in you anymore?

If a guy messaged you and became distant and formal during the conversation does that mean he isn't interested in you?
How do you know a guy isn't interested in you anymore?
Post Opinion