Waste management is handled at the local government level, they tend to "do their own thing". If your local government is doing the right thing, good for them! It could be burnt, landfilled, exported, sorted and sent to a local processor or sorted and then exported.
Sorting is not a binary process either. You can sort to different contamination levels depending on what processors are willing to take.
Not all waste is the same; different kinds of waste are handled differently in different places.
Local conditions make a difference; how much do voters care about the environment really? How much unused space is nearby? Are you way inland or near a port? etc.
But we can zoom out a bit and look at the macro trends.
I thought this article was a good introduction to how things have changed: https://e360.yale.edu/features/piling-up-how-chinas-ban-on-i...
Hopefully in future we do see more local processing, and less "environmental law arbitrage" by waste export.
So someone pays to haul stuff away on trucks and I'm supposed to believe that they are dumping that stuff in the ocean for some reason. Or shipping it to China and then dumping it in the ocean.