Containment capsule stresses for encapsulated phase change materials