suppose everything you say is accurate.
first of all, we need to judge whether 12 kinds of "automobile interior decorations" and 21 kinds of "glass, porcelain, pottery handicrafts and crystal handicrafts" are similar goods. If so, then the latter infringes and the legitimacy of the latter's trademark is insufficient.
if it is not a similar commodity, then we need to determine whether the 12 categories of "automobile interior decorations" include "glass and crystal ornaments on automobiles". If it does, then B infringes; if it does not, then A infringes.