You're going to want to cut back on the treats for their long run health but I don't think that's the issue. Ees tend to be finicky layers an Peter out sometimes
Old timer was telling old tales.
Hens can stop laying and look and act like roosters but it's because an hormone/reproductive issues such as infection or cancer.
What is her diet?