The scan stops because PHP runs out of memory. Wordfence loads many files and patterns, and the allocated memory limit is too low for the operation. When the limit is reached PHP throws a fatal error and the scan aborts.
This usually happens on sites with many files, heavy plugins, or hosting that enforces strict memory caps. The error appears in the Wordfence dashboard and in server logs.