How come eye discharge while you sleep is gooey while other times its hard with jagged edges?

clipart.com

Ask Shelley 2-25-2025 …How come eye discharge while you sleep is gooey while other times its hard with jagged edges?