Wireshark UI doesn't show captured packets but CLI does on macOS
In order to capture packets, you must install the “ChmodBPF” launch daemon. —2.5. Installing Wireshark under macOS
I'd recommend using brew to install Wireshark on macos properly.
brew install homebrew/cask/wireshark