Quick Answer
Measuring ingredients by weight is usually more accurate because weight does not change with scoop style, packing, settling, or spoon shape. A gram is always a gram. A cup or spoon, by contrast, measures space, and the amount of ingredient that fits into that space can vary.
That is why weight-based measuring is preferred for baking, recipe scaling, and repeatable cooking results. A digital kitchen scale removes much of the silent variation that volume tools can introduce.