Because we use a real-time reservation database, availability can change between the time an itinerary is created, and when a ticket is reserved or purchased. Tickets are constantly being sold around the world, so a flight can be fully sold out minutes after your search. The same applies to packages, hotel rooms and car rentals.
If the fare you are trying to book gets sold out then the airline may offer you the next best available fare.