«فَأَذَاقَهَا اللَّهُ لِبَاسَ الْجُوعِ وَالْخَوْفِ»
So God made it taste the garment of hunger and fear.
The affliction of hunger and fear is depicted as clothing that envelops a person. The garment provides the source image; hunger and fear are the intended afflictions.
The verb “made it taste” fits experienced hunger and fear rather than a garment as such. Thus the accompanying detail suits the target domain and illustrates mujarrada.