The reality is, nothing on your phone can cause actual danger to anyone in the way that guns or a bomb can.
So you have two ways getting illegal contents into a country. Instead of preventing both measures (which is what governments are trying to do [1]), you are suggesting ignoring one of the ways because the other way currently works?
The whole point of the customs and laws is to prevent any sort of measures to getting illegal contents into the country, either physically or via the cloud. Just because it is currently possible to do it via the cloud, does not mean the customs should give up checking physical devices.
3d printed guns are a simple bug in US law -- guns are controlled, but ammunition is not. Easy fix, make the ammo require a permit. Homemade guns are no longer a problem.
If you had that stored in your suitcase, it can be discovered, and a prosecution started.
If you had that stored in your phone, it can be discovered, and a prosecution started.
Phones aren't magical parts of your brain, that can cross borders without being inspected. There's no digital 'diplomatic pouch'. Just because there's lots of sensitive goodies inside doesn't mean it's immune to inspection. Why would it?