cats will do that to anything that moves! Especially if it's night and you aren't wearing jeans. They hide behind something and spring out at you. It's one of their more charming features....
I can't tell you how many times in my life that i've been ninjacatattacked.