Nonstationarity of a two-dimensional perpendicular shock: Competing mechanisms