Destabilization mechanism of edge localized MHD mode by a toroidal rotation in tokamaks