The parent property (available in pages and files sections) expects a single page object. From this page object, it will fetch the files (files section) belonging to this pages or the parentβs child pages (pages section).
The query property on a pages/files field (which is similar in functionality to a select field/multiselect field, but more specialized), however, expects a collections of some sort. The queried collection is not limited to a single parent page.