Because Explanation is a discourse relation, it is a relation between a pair of adjacent segments π2 and π4.
it is a relation between two modal expressions, stating that "Realizing that I had a pain in my neck caused me to infer that I strained my neck," which is as expected.