C-H bond breaks first, giving a carbanion intermediate that losses X to form the alkene.
E1cB reaction