When AI learns the why, it becomes smarter—and more responsible