>>5600763because there's pressure and warmth put on your penis from something that moves. you're also likely sitting down which causes blood to flow there by default.
these things combined make a boner, but it usually isn't the type of boner where you feel like you need to masturbate