Why do stuffed shells recipes include eggs?
The eggs are for binding - they keep the filling together. They might also provide some substance/body to the filling. Not knowing what recipes you're looking at, it's hard to say for sure, but since you tagged this with "cheese" I'm guessing that the fillings would start to melt and ooze out of the shells if you didn't use egg.