You don’t need to be friends with your boss, or the reverse, but you should, ideally, both respect each other, support each other, and be an appreciative part of a team. A group of people with a common goal should appreciate the contributions of each member and strive to contribute to the best of their abilities. Of course that isn’t always going to happen for a practically infinite variation of reasons. Still, you can shoot for this kind of cohesion & if it fails, well it’s probably going to work better than if you didn’t. There’s always next time, unless you die, or it’s your last chance, or whatever. Sincere appreciation makes for an effective glue when it comes to team spirit. Most people, even the ones who balk at hearing it, will remember and reciprocate even if they act like they don’t care.