The refrigerator door lubricant within the hinge can be removed along with the crumbs or caked liquid that was cleaned out of the hinge.
How to fix refrigerator door hinges.
Clean the refrigerator door gaskets with warm soapy water and a soft cloth.
If the hinges are bent causing the door not to open and close properly you will have to replace the door hinges.
Adjust only the top hinge to straighten an upper door.
To realign the door just pry off the hinge cap and loosen the hinge screws.
To realign the lower door adjust the middle hinge.
You can follow the steps in this video to help you do this easy repair.
Then align the door with the top of the refrigerator.