Every bid is an offer. The seller has agreed in advance to accept the highest bid. Simple.
Yeah, there's weird variants on this (dutch auction) but when you're on ebay you're already operating under the terms of a meta-contract -- the terms of service of the website, that you agree to when you sign up -- that define how contracts are formed between bidders and sellers. These supercede the traditional offer/acceptance rules.