while in 4X4 there is a grinding or clunking type sound from the right front. on 2003 Jeep Liberty

this does not happen in 2X4. not sure if it is the axle or what.

Asked by for the 2003 Jeep Liberty
Sounds like a transfer case problem or u-joint issue. Betting on the 4x4 transfer case.
I agree with cb30 the axle and hub or bearing doesn't change in any way from 2 or 4 wheel drive! Only the transfer case and front drive shaft. You the jeepfixer so you tell me what it is. LOL!