I always just figured it saw the "=", goes "ohhh so the stuff before was a variable and the following will be the value"... then "Wait, wtf, its got 2 open parentheses and only 1 closing parentheses", then "zomg throw a error saying they need another closing parentheses".
Just a guess though.