No, you keep your mouth shut whenever a LEO asks you questions. You only provide your name and address. If you are driving a vehicle, you also provide license, registration, and proof of insurance.
If a cop asks, 'do you know why I pulled you over?' You say nothing. Be respectful, compliant with physical instructions, e.g., "stay in your vehicle", "get out of your vehicle", but you say nothing.