Pushing someone away, ignoring them, not communicating properly are all things which teach the other person how to live without you. So don’t be shocked when the person decides to walk away. Eventually they will stop caring because there was nothing there in the first place.
The first sign of your mental health suffering isn't a panic attack or suddenly breaking down and crying out of nowhere. It starts with waking up exhausted even after getting 8 hours of sleep, gut problems, low energy, feeling lost and confused, inability to sleep, memory issues, hair loss, skin problems, muscle pain, self-isolation, fights with loved ones, difficulty getting out of bed, and losing friends.
Listen to your body before it has to scream.