You should check ?predict.randomForest
to make sure that you know the names of the arguments of the function you intend to use.
You should be using newdata = ...
instead.
Since data
doesn't match any of the named arguments, it is passed on to ...
and then ignored, which means that you get back the default: the out-of-bag predictions for the original data set.