SwethaReddyL
The difference is that in the black ball example, you are
not given any information about the earlier draws, so the probability that a specific draw is black stays the same as the initial proportion.
In the cars example,
you are told that the first 2 cards are not stock cards. That extra information changes the composition of the remaining stack, so now there are still 8 stock cards but only 46 cards left. So this is a conditional probability question, not the unconditional “any position is equally likely” idea.
In fact, if the question had simply asked for the probability that the third card is a stock card, without telling you anything about the first 2 cards, then 8/48 = 1/6 would be correct.