All mushrooms are sporocarps, but not all sporocarps are mushrooms. So what's the distinction?
'Mushroom' is similar to 'vegetable' β both terms are defined by culinary people, not by biologists. [1]
Another answer is "it's complicated, since it's culturally defined".
Wikipedia says "the word mushroom is most often applied to those fungi (Basidiomycota, Agaricomycetes) that have a stem (stipe), a cap (pileus), and gills (lamellae) on the underside of the cap". Mushrooms that fit this morphology are described as agaric.
Things that biologists wouldn't necessarily consider mushrooms (because they aren't agaric), but culinary people do, include: