Like with all professions, interpersonal dynamics are crucial, though arguably it matters more for some fields and at some places more than others. For example, you really need reasonable interpersonal skills if you want to run a lab or research group properly - but you would need it even if you were more of traditional solo humanities scholar who always publishes alone, since you need to work with your colleagues to agree on teaching and governance as well as with non-academic staff for administration of the department, managing grants, organizing conferences, etc. Like with every profession, some people are better at this than others: so many young scholars leave academia because of awful senior people who are just bad managers, bullies, or only interested in growing their own power, but there have recently been high-profile cases (in the UK) where the bullies have faced consequences so there may be hope yet. The general rule of 'be a good person' should be followed.
source: https://academia.stackexchange.com/questions/202104/disillusionment-with-academic-system-political-aspects