Both 2024 presidential nominees addressed the shooting that left at least four dead and nine injured.