The guy got arrested because it was thought that he had been spying for the Russians. That explains the arrest then an American spy would never get arrested in Germany, Americans – even American spies – are considered 'friends' after all.
That is probably why Chancellor Merkel had to call President Obama: To explain why the Germans caused such embarrassment by arresting an American spy …