When joining a new team, is it better to have the right soft skills and have to learn the hard skills of the job? Or vice versa?
To be a strong product manager, you will have to learn to balance your art in the science. That is your hard and soft skills. When you are new to a team, naturally you want to show your value and start to contribute right away. However you don't take the time to understand the dynamics of the existing team, build the right relationships, understand communication styles, you may set yourself up for failture even before you start. My recommendation would be to come in, get an understanding for the team and what their needs are. Build relationships, understand what skills are best used in the beginning.
I don't think it's black & white. There is a broader spectrum of colors here. Leverage your superpowers to shine and learn the skills that help you do your job better. What matters is delivering results that move the business forward. These results will be noticed, and the rest will organically follow.
As with most things - the answer really depends! Although, I have found that being a product manager boils down to 4 main skills:
Customer empathy
Setting expectations
Growth mindset
Action bias
In many cases, deeply understanding the customer's problems and needs helps you build the proper technical acumen over time. Market sizing, competitive analysis, prioritization, and opportunity assessments can have a spectrum of accountability by role in different organizations.
TL;DR - soft skills offer a strong foundation for success as a PM and many of the "hard skills" can be owned by different teams.