It's a trope you see a lot in anime and manga due to Japanese name culture: it's essentially the concept of "first-name basis" in relationships, only more culturally enforced, i.e. you only call someone by their first names if you're intimately close enough with the person.