You're assuming that the person interviewing trusts your absolutely in your statement that that code is yours.
They can't assume that. It would be irresponsible of them to just assume that that is proof of your abilities. Whilst fizzbuzz doesn't prove anything either, if you fail it then they know that you are lying. It's better than just blindly accepting it.