This is actually expected behaviour, and is due to the pihole command needing to use ftl's API to gather the results.
Take a read through the discussion on the following PR:
https://github.com/pi-hole/FTL/pull/1999
Though, I believe this additional PR still needs to be merged in order for the functionality to be "complete":