Since neither crack is diagonal it doesn’t look like typical foundation movement. The crack on the right side of the door is smaller at the top. The crack on the left side of the door is smaller at the bottom and extends through the ceiling.
The left side crack looks like the result of heaving. Was this crack centered over the center-line of the home, or was there a hose bib directly exterior of the left side crack? It doesn’t follow a header but it might run up alongside the king stud of the opening.
The right side crack looks like it might run up along the king stud of the door opening.
Since the bottom plate breaks at the doorway, if the portion of the wall to the left of the door is heaving but the portion to the right side of the door is not, because the doorway creates a break in the wall, then as the left side of the header is raised by heaving, it could create forces that twist drywall clockwise, creating a crack pattern like this.
That’s my guess. Just a guess.