This comes down to coating durability and care. Obviously a solid timber floor and an engineered floor can both scratch. This is something to take into consideration when choosing your flooring. Solid floors are typically more expensive once you factor in installation and coating costs but they do have the advantage of being sanded after trades move out. This allows any scratch to be sanded away and polished. You must take care when installing prefinished boards to reduce the risk of scratching and negating the advantage of a more affordable, factory finish.