A student wrote the following sentence.

Keiko handed her castle project to her teacher that was late.

How does the misplaced modifier cause confusion in the student’s sentence?