This is usually the result of the donor using an older link to the event from something like an email.  Using such a link it is still possible to donate to a closed event.  These donations can easily be soft credited to the newer events. The only way to prevent this from taking place in the future is to unpublish the donation form.  When unpublishing the form, you can also add a redirect to a different form or event.