Even beyond random mutation, it also makes sense to think about behavior in totality. Curiosity and a willingness to do insane things seem to be tied up in an overall system that does very well in maximizing reproductive success. But this doesn't mean that literally every behavior that results in individually optimal at spreading genes.
Human backs are maybe a good simple example of this: walking upright has been great overall, but has a lot of drawbacks that we suffer from such as difficult childbirth, back problems, etc. You could ask "what is the evolutionary advantage of lower back pain" and the answer of course is there's none, but there is still a broader explanation that makes sense when you consider the whole system.
Human backs are maybe a good simple example of this: walking upright has been great overall, but has a lot of drawbacks that we suffer from such as difficult childbirth, back problems, etc. You could ask "what is the evolutionary advantage of lower back pain" and the answer of course is there's none, but there is still a broader explanation that makes sense when you consider the whole system.