In Avengers: Infinity War, Wanda destroyed the Mind Stone and Thanos again reverted the time for the particular object (particularly for Vision) and took the Mind Stone from him.

In the Doctor Strange movie he also got the missing page of the book by reverting the time.

So, Doctor Strange has the ability to heal Tony after the snap. So he could live, right? Why he didn't do that?