Yes (but only begrudgingly). Saudi Arabia is a sovereign nation. That means within their borders they can do as they please, even if we don't like what they do.
We fought one of the most devastating wars in history (the 30 years war [1]) trying to control what other people think, and at the end everyone agreed that sovereignty is a great concept [2][3].
Using our influence over Apple and Google to project power against Saudi Arabia and try to force them to agree to different moral norms is in stark contrast to the idea of sovereignty and signals to everyone else that that kind of behaviour is ok. That's how you get cold and hot wars.
1: https://en.wikipedia.org/wiki/Thirty_Years'_War