In Chapter 22 of Genesis, G‑d commands Abraham to sacrifice his son Isaac. What I learned as a child: Abraham is commanded to sacrifice Isaac, Abraham and Isaac willingly do as they are told, Abraham is rewarded, the end.
Here are some of the interpretations or rationalizations I've heard over the years:
- The opening verse of the chapter explicitly says that this is a test. G‑d was never seriously planning to let Isaac be killed.
- Abraham was incredibly righteous. G‑d would never test an ordinary person in this way.
- Even though Abraham is prepared to kill his son, the net effect of the story is against child sacrifice. G‑d is saying he does not want or expect child sacrifice.
- There is a Midrash that G‑d only intended Abraham to put Isaac on the altar but not to kill him. 
The consequences of the attempted sacrifice
Let's look at the aftermath of these Biblical events.
- For most of Abraham's life, G‑d talks directly to Abraham. In Chapter 22 it is an angel, not G‑d, who blesses Abraham. After Chapter 22, Abraham has no further recorded dialogue with G‑d or angels.
- At the end of Chapter 22, Abraham goes back to Beersheeba and Isaac isn't mentioned. (So maybe Abraham and Isaac settled in different regions of Israel.)
- Abraham's wife Sarah dies a few verses later.
- After Chapter 22, there is no further recorded dialogue between Abraham and Isaac.
These can all be explained away. 
After enough reading and thought and analysis, an interesting fact emerges:
- Abraham is mostly outdoors. Isaac is mostly indoors.
Let's see where this observation can take us.
Why is Abraham outdoors so often?
In the Midrash, Abraham destroys his father's idols. Abraham's father brings Abraham to Nimrod, who throws Abraham in a fiery furnace. G‑d makes a miracle and Abraham emerges unharmed. Let's suppose that Abraham develops claustrophobia as a result of this ordeal. 
The book of Genesis never explicitly describes Abraham as being indoors. Abraham pitches his tent (Genesis 12:8), he dwells in various cities, and through all his travels Genesis never describes Abraham as being inside a tent or other structure.
After Abraham circumcises himself, Abraham is at the entrance of his tent at the heat of the day. (Genesis 18:1) Then three men (or angels) appear, whom Abraham rushes to serve. Rashi says that G‑d appears to Abraham, then G‑d makes the sun hotter than usual so Abraham won't be troubled by travelers, and when G‑d sees that Abraham really wants guests, G‑d sends three angels to visit Abraham. While the claustrophobia interpretation is an unusual reading, it doesn't contradict anything said by Rashi here. Abraham could be a righteous man who, even when in pain and on a hot day, wants to serve guests. At the same time, maybe Abraham never goes fully inside his tent, and the best he can do under difficult circumstances is sit at the entrance to his tent where gets partial shade.
Isaac as an agoraphobic
After Isaac is almost killed, the literal text in Genesis says nothing about Isaac's emotional state or his reaction to these events. Was Isaac an eager and willing participant, even after being bound to the altar? Was Isaac afraid? We the reader are left to fill in the blanks. Let's say that, as a result of the attempted sacrifice, Isaac develops agoraphobia. As we will see, this helps to resolve some of the textual difficulties later in the story.
"Agoraphobia is an anxiety disorder that causes an intense fear of becoming overwhelmed or unable to escape or get help. Because of fear and anxiety, people with agoraphobia often avoid new places and unfamiliar situations..."https://my.clevelandclinic.org/health/diseases/15769-agoraphobia
Why did Eliezer find a wife for Isaac, rather than Isaac finding a wife for himself? Why does Isaac relocate rather than confronting the herdsmen of Gerar?  Why are Isaac's servants sometimes digging the wells?  Agoraphobia is one possible explanation.
Location, location, location
Let's look at the different places we see Isaac after he moves away from his father.
- He prays in a field and meets his wife Rebecca (Genesis 24:63)
- He is indoors with Rebecca (Genesis 26:8)
- As previously mentioned, both Isaac and his servants dig various wells.
- When Isaac blesses his sons the location is not mentioned. (At this point in the narrative Isaac's eyesight is limited, so it's reasonable to assume he's indoors in his tent.)
There are two times that Isaac digs his own wells:
- Isaac redigs the wells that Abraham had dug, and calls them by the same names that Abraham had called them. (Genesis 26:18)
- Isaac's servants dig the wells of Esek and Sitnah, and quarrel with the herdsmen of Gerar. Immediately afterwards, Isaac relocates and digs a well himself at Rechovot. (Genesis 26:19-22)
In the first case, Isaac digs the wells himself to honor his father. In the second case, Isaac only gets involved after his servants have made two failed attempts on their own. One reading is that this is hard for Isaac, and outside his comfort zone, and he does it anyway because he understands it is important to his mission.
When Abraham instructs Eliezer to find a wife for Isaac, Abraham repeats twice not to move Isaac to Canaan. G‑d also says that Isaac shouldn't descend to Egypt. In the traditional understanding, even though Isaac wasn't killed on the altar, he acquired a level of holiness that made it inappropriate for him to leave Israel. The agoraphobia reading does not contradict this. Isaac is a holy man, and neither G‑d nor Abraham want to burden Isaac with the challenge of living in an unfamiliar country.
Now that we have this understanding of Isaac, let's see where it takes us.
Why does Isaac love Esau?
"Isaac loved Esau because game was in his mouth, and Rebecca loved Jacob."(Genesis 25:28)
The obvious reading is that "his mouth" refers to Isaac: Esau gives Isaac food. Another reading: "his mouth" refers to Esau. Esau tells Isaac stories of the outside world, and of Esau's daily adventures hunting. As an agoraphobic, Isaac is so grateful to hear these stories, and he loves Esau for it.
Coming in Part Two
So far we have explored how Abraham and Isaac each responded to very difficult circumstances.
In part two we will look at how these events affected Isaac's sons Jacob and Esau.
"This midrashic commentary, like the previous one, understands that [G‑d] could not possibly have commanded Abraham to actually sacrifice Isaac."
As Israel Drazin explains in his article "Was Isaac angry that Abraham tried to kill him?", Isaac brought Rebecca to his deceased mother's tent, and Isaac buried his father Abraham. So Isaac was still connected to his family.
"What causes claustrophobia isn’t fully understood. Researchers believe causes might include ... [a] traumatic event as a child: Some adults with claustrophobia report one or more events where they were trapped or confined to a tight space as a child."
Note the contrast between Abraham and Isaac.
When Abraham's herdsmen quarrel with Lot's herdsmen, Abraham immediately intervenes. (Genesis 13:5-9)
When Isaac's herdsmen argue with the herdsmen of Gerar, Isaac doesn't intervene and instead moves to a new location. (Genesis 26:16-22)
Isaac digs his own wells:
Isaac's servants dig a well: