During the creation, God noticed that everything he created every day was good then he noticed there was a need for something to populate his creation. This led him to create a human being form the Earth soil and to sprout trees from the ground as a source of food. He also created the Tree of Knowledge which would give them knowledge if they were to eat it. God told Adam that he can eat any fruit except the fruit from the Tree of Knowledge, or else he would be fated to die. God felt that Adam needed a companion and created Eve. Eventually, Eve fell into temptation and also convinced Adam to do the same, and they both fell into sin.
The consequences after man’s first disobedience are that Adam and Eve were kicked out of paradise. Adam had to toil the land to provide food, while Eve had to bear pain when bearing a child. This would also apply to future human beings where the man had to provide food, while all women would experience pain during childbirth. Another consequence is Eve and future women, would be dominated my man. Their action of eating from the Tree of Knowledge caused consequences that would affect countless generations of human beings after them.
God trusted Adam and Eve to adhere to his rules and as soon as temptation arose they failed. Which brought on consequences for future generations, as in everything in life every action has a reaction. In Genesis God is not as merciful as the rest of the first 5 books of the bible, constant disobedience lead to God having to put his foot down and displaying his power over man kind.