Pyrolysis is a
syn-elimination yielding an alkene, similar to the Cope
Elimination, for which ß-hydrogens are needed. The carboxylic acid
corresponding to the ester is a byproduct.
The cyclic transition state can only be achieved if the steric environment is not too demanding. See Hofmann's Rule.