As XL83NL mentioned, the reason is because of the difference in primary and secondary stresses. For example, thermal deflections associated with axial stress can introduce bending stress. When that occurs the axial stresses are usually reduced. Additionally, after the piping system has gone through a few on and off cycles, the accompanying hysteresis effects produce a ratcheting which usually moves the neutral point of the overall displacement range that will happen in the next cycle, thereby reducing the maximum thermal stress that will be developed during next cycle. Secondary stresses in piping usually do not produce a failure. Most of the time they only result in a self-limiting deflection and any temporary eccentric stresses that cause bending usually result in a reduction of maximum primary stress.
Example: A very hot pipeline laid in a pipe rack will expand. As it is restrained in axial elongation by the friction of the pipe supports, the pipe tends to take on a snake shape in the rack due to the resulting eccentricities and bending stress. That's all that happens. A snake shape. If the same were to happen to a vertical structural column, bending would not necessarily be limited, eccentricities and bending stressses would increase and the structure could easily collapse to the ground. With a properly designed piping system, that would most likely never happen.