Generation of wear elements and origin of tribomagnetization phenomenon