Hi bill it looks like you don t have proper ventilation insulation in your attic.
Door on attic stair is warped.
It s essentially an insulated cover that sits on top of the attic stair area.
Changing out the entire attic stair unit can be potentially very difficult to do for homeowners.
By pulling down on a string the trap door opens revealing a fold up ladder held in place by springs and hardware.
One solution is to ignore the sagging factor and install what known as an attic stair insulator.
Often times the unit can be repaired rather than replaced.
Brought down to the floor accessing the attic crawl space is simply a matter of climbing the ladder.
Check the springs or struts of your ladder and make sure they are working correctly.
From inside the attic check for obstructions when the door is closed check shims installation cords to make sure nothing is interfering with the door shutting properly.
Plus if you have your air on cool air is getting up there and making the prefect storm causing your door to warp.