Just get up and move and give them a dirty look. They are being rude. Also who knows what their motives are. I’ve heard of a lot of crime starting this way on public transit.
I haven’t had this happen recently but when I would be waiting my for therapist it would happen sometimes while other times the look I would give them would be enough for them not to sit by me.