Beowulf’s rune-encrusted sword

Why did the Anglo-Saxons write on early sword fittings?