The glass hit the floor and it scratched.
Who is "it"?
the floor