The bases protect Europe by allowing the US military to react quickly on behalf of Europe and Germany.  The US has the equipment and personnel in place to protect Europe costing the Americans billions while Europe spends little on their own military.  Pretty simple thing that you obviously can't comprehend.  The American trade deficits are funded by borrowing as well as supporting foreign workers.