A showdown between America’s tech companies and the U.S. government has been brewing largely behind the scenes. Agencies such as the FBI have requested user information from entities such as Google,...