Ok look at this photo of the hinge on my doors and how it is cut into the door and door frame.
The hinge is set into the door and the frame/lining equally.
Your hinge leaf of your frame appears to be further forward than the leaf on the door. If you were able to shut your door you would see 5mm+ of the inside edge of the door frame, you need to pull the hinge back and refix.
View attachment 410757