That's controlled by your link's meta tags. When editing a link, you can set a custom title, description, and preview image (the same info platforms like Facebook, Twitter, or WhatsApp read to build a link preview card).
This means you can control exactly how your link looks when someone shares it, instead of relying on whatever the destination page happens to show.