They will lay best with a certain amount of protein. Their feed usually has the proper amount. If you give them treats or leftovers and it is too much carbohydrates, fruit, and veggies compared to the amount of protein it can affect their laying. Try upping their protein a little, give them meat scraps, cooked beans or nuts.