Resentment over wars may have motivated London terror attack