Because it's a pile of if-else statements shuffled until it was able to perform a single specialized thing. Any housefly would by a thousand times as "conscious".
I assume that a housefly does have a basic form of consciousness. It's not going to write Shakespeare but it probably wants to mate. (I know people who's life goals don't appear to extend much further).