Some images are not picked up from the content
If you don’t use featured images, but the images are in the post content, then they might be a part of a shortcode or gallery or something else, which is not directly stored in the database.
In this case enable the Execute shortcodes when looking for images in content? option on the General Options -> Image Options panel: