What is the appropriate way to interact with people that behave hostile towards you? I sometimes find it hard to judge in these situations.
it's indeed hard. You can try to observe the situation but if you don't find what can be wrong, just simply don't interact with those people.