Question: why loki attacks new york?
Answer: It was his form of revenge; he was spiting Tony by launching his assault from the pinnacle of Tony's ego—the large tower with his name emblazoned on it. ... Thus, Loki chose to attack New York from Stark Tower to spite Tony by using his own technology to power the portal and make the Chitauri invasion possible.