I think they were going for a more realistic take until they realized that fans didn't like that and basically enjoyed Batman as a "saint" dressed like a bat. As far as in-universe reasons, Batman realized it wasn't just fun and games and that involving children was insane after the Joker killed Jason Todd and crime didn't slow down for him to mourn his many losses at the hands of remorseless villains.