If it is an environmental problem of the company, there is no way to change it.
If it is the interpersonal relationship of colleagues, it can well maintain the relationship between colleagues and find out the reasons for not getting along well.
If it's the job content, you can have a good look at how this job is done, because if it's just the job content, you will ask such questions wherever you go.
So when you encounter a problem, you should solve it instead of running away.