Mendel's gene involved in pea color decides whether the chlorophyll in the pea will be broken down or degraded. When this gene isn't working, the chlorophyll stays around and the pea is green. So in this case the recessive trait is indeed due to a broken gene.