Hey Rishabh, most likely the problem is the conflict of names of war files already present on S3. With previous attempts, war files with same name would have been created and S3 doesn't allow you to create objects with the same key. Just change the name of your war file and upload again.
Also, make sure you are exporting the war file correctly. (Right click on your project and export as war file)