Imtiaz Ali, the director of the film, aimed to create a story that showcases the gray areas of life, where right and wrong are not clearly defined. The movie's script was written by Imtiaz Ali and Jaideep Sahni, who wove a narrative that explores the complexities of human relationships and the consequences of one's actions.