Like all higher-level animals, dinosaurs would have experienced fear as a natural survival response.
Fear is an instinct that helps creatures recognize and steer clear of danger—a trait that would have been just as valuable to dinosaurs as it is to animals today. It's essentially nature's built-in alarm system.