The film was released in 2010, a time when India was experiencing a surge in communal tensions and hate crimes against minorities. The movie was inspired by the real-life experiences of Muslim Americans who faced Islamophobia and prejudice after the 9/11 attacks. Karan Johar, the director, aimed to highlight the struggles of Muslims in a post-9/11 world and to promote tolerance, understanding, and acceptance.