Another way to say "A car alarm deters theft." is "Theives are deterred by car alarms."