IME while clear two-way communication might be impossible [1], talking to your pet, cat or dog or any other mammal [2] does deepen the mutual bond and provides some communication framework - not saying that your cat will definitely understand what does it mean when you say "Garfield, fetch me that yellow slipper", let alone actually obey, but it will, over time, learn to recognize tone, sounds, and even context, and will also try to vocalize back, which may turn into patterns you start to recognize. So yes, it pays to talk directly to your pet.
Though that's not as strange as talking to your plants that seems to help the plants somehow.
[1] let's call it super rare because one in a trillion trillion is still not zero
[2] smarter birds too, can't say much about reptiles beyond a pond turtle really bonded with my brother
There are a million cat & dog owners out there using Talking Buttons, borrowed from nonverbal human assistive communications. Mostly to make funny Tiktok videos, to be fair. It's rarely clear what is random, what is Clever Hans training, and what is direct operant conditioning.
Though that's not as strange as talking to your plants that seems to help the plants somehow.
[1] let's call it super rare because one in a trillion trillion is still not zero
[2] smarter birds too, can't say much about reptiles beyond a pond turtle really bonded with my brother