Welcome to the site.
Sounds like the closer latch assembly in the door has gone bad. I have replaced a lot of these latches over the last few years. Can you manually push the door closed? Make sure you are pushing on the bottom corner of the window glass NOT on the door as you will dent the door.