Dennis was jealous that Charlie had chosen Mac to help instead of him. He swore to have his revenge. That’s why He encouraged Mac to sleep while he stayed up. He was gonna put the frame on Mac, by pooping next to him.
dennis really is insane im sure of it