scratches are very easy for spirits, human and otherwise, to manifest. it was probably a somewhat recently deceased person who does not know how to express themselves and wanted attention or just did it for the hell of it. this is actually very common in hauntings. they probably just wandered on after that. older spirits and demonic entities have much more "grown up" ways of expressing themselves.