Don't you think that
> they are working towards their reward functions and optimizing the weights to reach the goal
applies to the human mind too ? Consciousness, when you think about it, might simply be a layer of indirection that any sufficiently complex network is capable of, if you give it a notion of time and events.
Certainly it's not super hard to make reinforcement learning "bots" that certainly appear as conscious as small animals are.