It's called free will.
What really is puzzling is all these science fanbois who constantly throw out strawmen and red herrings about religion but in reality they have no idea what religion is nor do they know anything about the 'solutions' to all the 'problems' their 'great' minds thought of that they think nobody in the past millenia ever thought of.
The problem is that the solutions usually take the form of a black box with a name tag attached that's supposed to solve the problem. I personally am a big fan of classic philosophy and advanced theological thinking, they're simply awesome. But the solutions they arrive at always rely on some bit of mystery that you must take at face value, otherwise things don't work.
Free will is a prime example. Whenever you try to crack it open and figure out how it works you end up with a deterministic formulation. So you only have two options really: either you assume there is this free will attribute no matter how nonsensical it looks when observed under the cognitive equivalent of a tunneling microscope, or you give up and assume that free will is a perceptual error, and then moves to the much simpler problem of figuring out why we instinctively believe there is such a thing when it makes no sense.
Another good example is the classic theist concept of the prime mover as God, which in turn is a pure one without moving parts, that somehow is at the same time will, and goodness, and power, and law, and knowledge, and action, and planning, and outside of time and space, and containing time and space, and ourselves etc., all of this more or less just because. It all sounds amazing, and it indeed is, but when you stop, take a step back and look at it critically you're really left only with a big question mark, and a question mark, no matter how incredible is the sentence that comes before it, isn't an answer.
So it isn't that those thinkers didn't arrive at solutions. It's just that they're bad solutions. But I agree that most science fanbois would benefit immensely from actually knowing those answers so as to at least not go around reinventing the wheel again and again and again...