A pillow can cause upper back pain if it does not suit your sleeping position. Back and side sleepers need adequate support to keep the head, neck and shoulders in alignment, while stomach sleepers often need soft, thin pillows. Ultimately, your head should not dip down or angle up too far.