It only learns these moves before Generation 6.
In other words, if you want to have it on X/Y you would have to get it to learn the moves in BW2 and then transfer it back over.
The thing you might have missed on whichever site you were using it to set it to a previous generation as the default is probably generation 6.
Here is its Gen 5 learnset.
Hope I helped.