The encryption debate and the government’s legal action against Apple have created more tension between the company and the Obama administration.