I bumped into someone today

I didn’t look back, I can’t stop thinking about it. Is this technically illegal?