Revealing the underlying mechanisms behind TE extraordinary THz transmission