Spectrum of the Iwatsuka Hamiltonian at thresholds