A movie with a serious flaw

Rating: 5/10 (27 April 2019)

To summarize, it was a fantastic movie displaying amazing visuals and cool moments. I'm not going to mention all the flaws found in the movie except the most annoying one.
-Spoilers-
In the end when Tony had snapped his fingers and fixed the worlds problems, another "problem" appeared. The problem I point at is that they could have just used the stones to bring him back. Everything before Tonys snap was "neccesary" because of Dr. Stranges single possible prediction. So why didn't they bring him back...? It's not like The Hulk wouldn't sacrifice his other arm to save tony?!! It felt like they only killed him just to kill him. They still had the stones (especially the soulstone) but none of them realized they could use them to bring back the man who "saved" the entire universe. It can't be explained nor justified. They all knew that Tony only wanted to live his life with his family.
There is however a better way to kill Tony if that is what they really wanted to do. In this scenario Tony would send back the stones to their timelines at the same time as snapping his fingers. In this way they would not have any possible of bringing him back to life (which also would justify his funeral at the end). I would respect this ending but i just can't respect the one they showed. Its only about box-office statistics, money and getting their damn franchise big... If you analyse the movies storyline you see a lot of plot-holes but this one could easily have been avoided.
All and all it was a great cinematic movie but not for someone who can see through the flaws.
To conclude:

Good visuals
Good CGI

But..

Lacking storyline with severe flaws (especially Tony Starks death)