It doesn’t strip every query string. It acts as if it has a list of known tracking params, but I haven’t investigated the exact mechanism.
Removing all query parameters might encourage that practice, and ultimately even push sites towards creating completely opaque, server-side resolved unique sharing URLs.