These termites don't come from underground like the subterranean variety, but fly in to where they set up home. In this case since the cabinets were relatively new, they may have come via the wood used to build the cabinets for an outdoor kitchen. Unfortunately, before the wood is used it is very difficult to tell if it is infested with termites until they eventually bore tiny holes (kick outs) and begin pushing their frass (waste material) out from their chambers. It was explained to me that they expel these pellets through tiny holes they bore (pic below) when they feel they are running out of space in their current chambers. The color of the pellets is determined by the type of the wood they are eating.
If you want to learn more about drywood termites, I've included a link to the Florida Department of Agriculture.