Because, for better or worse, damn is what God does, and condemn is what a judge does. So damn picked up the religious and then blasphemous connotations which condemn never had, which made it much more eligible as a profanity. Profanity is all about the current taboos in society.