A bathtub faucet is a sink faucet with worse access and one extra part. The valve works the same way, but the spout often carries a diverter, and the surround means water that escapes can travel into a wall or a floor rather than into a basin.
The spout is a part, not just an outlet
On a tub and shower combination, the spout usually includes a diverter that sends water up to the shower head. That diverter is a seal that moves, and it wears. When it fails, water drips from the spout during a shower, or the shower head loses pressure because water is escaping below.
This is worth separating from a valve drip. A spout that drips only while the shower runs points at the diverter. A spout that drips when everything is off points at the valve. They are different repairs, and one does not fix the other.
Slip-fit and threaded spouts
Most tub spouts are one of two types. A slip-fit spout slides onto a plain copper pipe and is held by a set screw underneath, with an O-ring sealing against the pipe. A threaded spout screws onto a male adapter fixed to the wall.
The difference matters because the removal is different and the wrong method damages the pipe. A slip-fit spout that is pulled or twisted with the set screw still engaged can tear the pipe or the finish behind it. A threaded spout that is levered will damage the adapter in the wall, which turns a spout replacement into a pipe repair.
Valves behind the wall
Deck-mounted tub faucets sit on the tub surround and are reached from above. Wall-mounted tub and shower valves are reached through the handle and trim plate, the same as a shower valve. In both cases the cartridge or stems are serviceable without opening the wall.
Older two-handle tub valves use stems and seats. The hot side usually fails first, and a pitted seat will wear through a new washer quickly, so reseating is part of the repair rather than an optional extra. Single-handle tub valves use a cartridge, and a drip with the handle closed points at it.
Where the wall has to open, it is usually because the valve body has failed or the rough-in is damaged. That is a different scale of job, and it is identified before work begins.
Water at the wall or the floor
Water appearing at the wall behind the spout or trim is the pattern to take seriously. It means the seal that keeps water in the fixture is no longer doing so, and the destination is framing, tile substrate or the ceiling below.
The usual causes are a spout that has worked loose, a failed O-ring in a slip-fit spout, or a seal behind the trim. In each case the fix is at the fixture, but the damage assessment matters too. If the floor or the ceiling below has been damp, say so when you call.
Deciding on repair or replacement
Repair is usually the better economics: a cartridge, stem, seat or spout is a small part. Replacement becomes sensible when the finish has failed beyond cleaning, the valve body is damaged, or the fixture is old enough that no parts are made for it.
One practical point on older tubs: replacing a spout is often the moment the pipe behind it is inspected, and a pipe that has been weeping for years may need attention before a new spout will seal. That is worth knowing in advance rather than discovering with the water on.