Here's why the media criticizing Trump helps him.