The first is that you're banning free expression, and banning free expression is inherently harmful.
There's also the displacement theory - with the legal content being much more accessible and regulated to ensure minors aren't involved in production, it displaces illegal content that does harm minors.