To take the most recent thing off a stack. Also a sharp brief sound.
English pop (16th century), imitative of a short sharp sound, with no older root behind it; the computing sense of taking the most recent item off a stack borrows the same word for a quick, discrete action.
To take the most recent thing off the top of a stack — a quick, discrete action, named the same as the short sharp sound it resembles.