本当はttyとか関係なくて後方互換性を維持するかどうかの違い
So you should prefer using these commands (potentially with some additional options enabled) in your scripts as they keep backward compatibility as much as possible.
apt(8) — apt — Debian buster — Debian Manpages https://manpages.debian.org/buster/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS