A motorist was unaware he was rudely gesturing to officers on patrol who spotted him using his phone behind the wheel.