For the record this was due to missing fpm package for the current php version.
I have PHP installed via Ondrej packages, and configured everything for PHP 7.4. But the default PHP version for the repo (that is, packages installed without an explicit version) are for PHP 8.0. Z-Push packages didn’t find php8.0-fpm so was trying to install Apache.
Installing php8.0-fpm solved.