Why do we sin? Because we are not infinite in wisdom and thus can be deceived by Satan, sin, and our own lusts. It was inevitable that Adam and all of his offspring should sin. But God had made provision for that before He created man. Why do some accept salvation and others reject it? That is the mysterious nature of free will.
"But every man is tempted, when he is drawn away of his own lust, and enticed."