Just because someone got attacked during trade doesn't mean that buying/selling bitcoin in person is bad. Problem is that people are not using common sense and are not careful enough when doing that, which sometimes end uo them getting robbed. Using that logic many things you do in real life shouldn't be done just because someone somwehere got robbed/attacked.
Do you not think that doing physical P2P trading might been abused by scammers? Example of what I am talking about is to physically be attached, but not only that. The other reason which was the reason I referred to as KYC is that some bad actors can see this as an opportunity to know who is trading on an exchange. They will not attack during the trading but give attackers information about the bitcoin trader so that they can attack him at his house. I can not trade bitcoin physically.