Specific pistol vs rifle 22LR does matter for edge cases and competition, but it is typically not an issue for the average plinker. Note: fps numbers below refer to velocity from rifles.
For your everyday plinker pistol, high velocity ammo (or at least 1200 fps out of a rifle) has the energy to cycle everything as long as basic things occur, like the bullet profile and feeding ramp/angle getting along and the extractor/ejector system working. HV ammo also cycles semi-auto rifles.
It's when you get into standard velocity ammo (approx 1080fps out of a rifle) that things have the ability go awry, depending on some factors. Most semi-auto pistols and rifles can cycle SV ammo IF the ammo is actually close to 1080 fps. Consider lot to lot fps variation, differences in the weight of slide and bolt mass for different guns, differences in recoil springs, shooting in cold weather vs hot weather - you can see that a certain combination of things may not always cycle a 22LR pistol.
Match ammos can have a pistol designation on them. These ammos are designed for use in pistols, but they can be used in rifles also, but may not cycle a semi auto. Match ammo with a "pistol" designation typically runs about 1030-1060fps out of a rifle. This points to there being an actual difference in the pressure curve.
As always, there are exceptions. It's good to know that your firearm cycles a certain ammo before buying a container load (or case) off the internet.
From recent memory, in those scarce days, when people were looking for any 22LR at all, some found and purchased Geco Rifle, an ammo specifically for bolt action rifles, or it's sister ammo Norma Tac 22. Ammos like these (and others) may function, but have a higher FTE percentage, simply because they weren't made for cycling every semi-auto out there. That is what the faster Geco Semi-auto was made for.
In those days, I went and tested at least 10 ammos that I could actually find to see if they would cycle an admittedly "finicky" 22LR pistol. The finicky pistol had trouble with the typical "conical nose" 36gr bulk box ammo at the rate of 1-2 problems per mag (10 rounds). However, it ran all 40gr ammo, with a reasonable amount of issues typical for rimfire. These included venerable ammos, like CCI SV/MM/SGB, Fed 510 Champion/ 710, etc. It ran Stingers no problem. It even ran CCI SSHP (which I was surprised about.) When went to try the Tac 22, it functioned with a small amount of issues..... but just barely. I noticed that the spent brass was only clearing the ejection port by 2-3" (versus clearing by feet with the HV ammos) and it was a hot summer day. I could see how a person could struggle with an ammo like this in a pistol on a cooler day.