I'm pretty sure the simple answer is that they (quarks) don't interactdo get their intrinsic mass via interactions with the Higgs field (via exchange of "Weak Hypercharge").
However, but instead theygiven that quarks cannot exist on their own, composite particles made of quarks (quarksprotons, neutrons, etc.) inheritwill end up getting far more of their intrinsic mass from the binding energy of the gluon field (i.e. they get theparticles made of quarks end up getting most of their mass via totally separate mechanism than from the Higgs); or at least thats where mostHiggs; via the exchange of it comes fromgluons and virtual particles).
Try reading up on QED (Quantum chromodynamics) and/ or check out this related video from Veritasium if your interested in learning more on this subject:
https://www.youtube.com/watch?v=Ztc6QPNUqls