As with almost everywhere on the internet, LinkedIn analyses your usage data on its platform.
Tip: Bing is Microsofts search engine.
As Microsoft owns both Bing and LinkedIn, it shares data between the platforms to better target its ads.
Desktop
To configure your advertising interests, you should probably open LinkedIns prefs.
you might do so by clicking the Me icon in the top bar, then clicking controls & Privacy.
The tweaks open to the account tab by default.