Original: Tel Aviv was the temporary government center of the State of Israel until the government moved to Jerusalem in December 1949. Due to the international dispute over the status of Jerusalem, most foreign embassies remained in or near Tel Aviv.
Simplified: The capital was moved to Jerusalem in 1949, but the Israeli Ministry of Defense and many foreign embassies stayed in Tel Aviv.