Being allies does NOT mean friendliness or absolute trust
There is that old saying of "Trust, but verify" and it is pretty apt here.
U.S. is a superpower whether you or I like it or not. To keep that power, they (and anybody else with the power to do so like China, Russia, Germany, UK, SAR, Czech Republic, Sweden,...) are going to use their considerable political, economical, and other (military) capital and use it to further their own interest and their obligations. As long as the rewards for honoring those obligations outweigh the negative effects and the political decision not to honor them has not yet been made, of course (Winston Churchill and seizure of Turkish battleships Britain was building before WWI, anyone?)
It is extremely naive (and IMO idiotic) to think that relationships between countries (which are by definition groups of people with extremely diverse opinions and interests) are the same as between you and your best mate Benji. Another mistake is to equate information gathering and spying with terrorism/disruptive attacks.
In short, any country worth it's salt is going to gather as much information as possible in their political climate about anyone they can.
U.S. is going to gather information (spy) on anyone they work with and against because they need as much political advantage they can and because Germany might be their ally, but that does not mean they trust Germany or that Germany will be an ally forever and not everyone in Germany is an ally of U.S., same as everyone in U.S. is not an ally of Germany.
Germany at this time is run by a group of people who have not had a reason to sever that relationship, the same as U.S. is. Those people change and they have their own agendas that might go contrary to the interests of the people on the other side or even amongst their own country.
They agreed to cooperate/work towards similar goals as long as it is beneficial for both of them on areas where their interests align. That does NOT mean absolute trust, but more a grudging acceptance.
You cannot foster a relationship of absolute trust between groups of people who periodically change and have diverse and often contrary interests.
You can foster a business relationship, that can even be friendly, but certainly not complete trust.