Bogged spawn naturally in swamps and mangrove swamps in both editions. They can also appear from certain trial spawners in trial chambers.
Bedrock Edition has a swamp and mangrove swamp jockey encounter in which a spider or cave spider carries a bogged. The mount and rider remain separate mobs. Java's ordinary natural spider jockey uses a skeleton rider.
Bow shots from a bogged apply Poison on impact. A bogged fires less frequently than an ordinary skeleton. The configured interval is 3.5 seconds on Easy and Normal and 2.5 seconds on Hard in the covered releases. These are attack cooldowns. Position and line of sight can delay the next shot.
Using shears on a bogged removes the mushrooms on its head. The interaction works once per mob and yields two mushrooms, which can be both red, both brown or one of each.
Ordinary drops. Death loot rolls separately for zero to two bones and zero to two ordinary arrows before Looting.
Arrow of Poison. A separate pool rolls zero or one poison arrow before Looting. Java applies its player kill-credit condition. Bedrock explicitly accepts kills by a player or a tamed mob. Looting can increase the counts in all three pools.
Equipment and shearing. An equipped bow follows equipment drop rules. The two mushrooms come from the shearing interaction, which has its own loot table.
The Bedrock swamp jockey can include a bogged rider. Both editions share the same basic natural habitats, the difficulty-based bow cooldowns and the two-mushroom shearing result.