Installing a new 4-way switch troubleshooting
It was this: https://diy.stackexchange.com/a/10982/38476
I was testing it without a load on it, and once I put a light fixture and bulb it behaved normally. It’s common for 3-way switches to have phantom voltage when there’s no load.