Detect Evil, at least in 3.0 to 3.5, isn't that good at fine detail. You can have a Neutral character who commits a technically evil theft (their victim could reasonably be described as "the needy" and there's no alignment change after the theft - because it requires more than one evil act to change alignment - it requires repeatedly committing Evil acts to change a character's alignment.