The causative agent of peptic ulcers is Helicobacter pylori. Bacillus subtilis is not associated with causing peptic ulcers.