I get what you mean. Some say things, know things that they have no business knowing. First meet, you are talking about a troubled friend/family and they just know it. Right ?
This is a well studied phenomenon and there are several reasons and explanations.
First:
This guy was a astrologer, wrote a book called 'mars effect'. He also did the following experiment https://www.macmillan.pl/images/materials/1464157670_Effective_Reading_3.pdf
Second:
This one is fascinating ! Ex-astrologer tells it all ! https://www.theguardian.com/lifeandstyle/2019/nov/06/i-was-an-astrologer-how-it-works-psychics