There are many applications that share the same source package, so I will show three different ways to print the name of the source package.
The first method is to print package information and filter out the required information.
$ apt-cache showsrc linux-image-amd64 | grep Package: | awk '{print $2}' linux-latest
$ apt-cache search --full "^vim-tiny\$" | grep "Package\|Source" | cut -d " " -f2 | tac | tr "\n" " " | awk "{print \$1}" vim
The second method is to simulate the source package download.
$ apt-get source -s liblzma5 | sed '$!d;s/Fetch source //' xz-utils
The third method is to query the Debian package database, but it only works for installed packages.
$ dpkg-query -W -f='${Source} ${Package}\n' sshfs | awk '{print $1}' sshfs-fuse