It was an egg

This would have been her first egg. It was a large+ size egg trying to come out of a bantam sized Araucana. I don't know if she could have ever passed the egg..... There was
alot of fecal matter and some yellowish matter so I think she was backing up and getting septic/infection. ???? So now my question is am I doing something wrong to cause this? I have a chicken tractor with Purina layena food available 24/7 some grit and water of course (just plain water no apple cider vinegar or anything added) My birds are let out in the morning and they range all day. I have water available at various spots around the property where they range. I am aware that they do not eat much of their Layena food.....they are much more interested in ranging. Is there something I need to change or add?