A dynamic magnetic tension force as the cause of failed solar eruptions