Peter constantly forms associations based on the most inane and tenuously connected scenarios.
Peter Griffin (when he's hungover): This sucks worse than that time I went to that museum. (Flashback memory to childhood, standing in museum looking at dinosaur skeltons.)
Peter Griffin (as a child): Why did all the dinosaurs die out?
Man at Museum: Because you touch yourself at night.