The following picture explains how electric and magnetic field vectors behave for the different types of TE/TM modes. It is taken from [Clemen].