It's essential not to jump to conclusions without enough information, but there could be various reasons why your friend became cold after you hinted that you liked someone. Here are some possibilities:
Misinterpretation: Your friend might have misunderstood your hint and assumed you were talking about her. This could have made her uncomfortable, especially if she doesn't share the same feelings.
Rejection: If your friend was aware that you liked her and she doesn't feel the same way, she might have pulled away to avoid leading you on or to protect your feelings.
Fear of losing the friendship: Some people fear that romantic feelings might complicate or ruin a friendship. To prevent this, they might distance themselves to maintain the current dynamic.
Personal issues: It's also possible that your friend's change in behavior has nothing to do with your hint. She could be dealing with personal problems or stressors that are affecting her interactions with others.
Embarrassment: Your friend might feel embarrassed or awkward after learning about your feelings, and her reaction could be her way of processing this newfound knowledge.
Need for space: Sometimes, people need time and space to process their emotions and thoughts. The sudden change could be an indication that your friend needs some time alone.
It's crucial to communicate openly and honestly with your friend to understand what's happening. Instead of assuming, try having a calm and compassionate conversation with her. Ask if everything is okay and if there's anything she'd like to talk about. Respect her feelings and boundaries, and if she needs space, give her the time she needs.
Remember that friendships can be complex, and feelings can change over time. Whether things return to how they were or evolve into something else, it's important to approach the situation with empathy and understanding.