When you assume that there is a straight line of cause and effect, then time travel plots almost always turn into a convoluted mess that makes little to no sense.
There is an alternative way of looking at cause and effect that makes it less frustrating to think about movies that have time travel plots.