Why are fruits classified as living things?

Yup, and this convention is widespread - if you go to a flower show, the cut flowers will be labelled according to the name of the plant that produced them. A field guide to plants will often only show details of a flower, some leaves, etc, not the whole plant. If you ask anyone “what kind of leaf is on the Canadian flag?” they’ll say Maple.