I think it is because having sex is such an inimate thing and as a sex worker you have to do it even with people you are not intimate with and at times when you dont want to be intimate. The sheer number of sex partners probably also doesnt help.
And then there are the assholes who will straight up step over boundaries and directly create trauma.
I live in Germany where sex work legal btw (and I think it should be kept that way).
Comparing the risks to other work is hard, as the risks vary from person to person and from workplace to workplace in each job.
But I would consider doing sex work if I would have to work in a callcenter otherwise lol
We will never live in an ideal world, we can only approach it.
So, yeah, I wasnt referring to reality.