Splitting a coffee is a cheapskate move because it's customarily an item that comes with free refills. Indeed, in this case the server did even refill it. If I were the manager I wouldn't have allowed it. Splitting items that don't come with refills is fine, though. E.g., splitting an appetizer or dessert is common.