Billy coughed when the door was opened, and when he coughed he shit thin gruel. This was in accordance with the Third Law of Motion according to Sir Isaac Newton. This law tells us that for each reaction there is a reaction which is equal and opposite in direction. This can be useful in rocketry.