If the top card of your library changes while you're casting a spell, playing a land, or activating an ability (most likely because that top card is the card you're playing), the new top card won't be revealed until you finish doing so.