What is the difference between an adjective phrase and an adverb phrase?

It is a question–when.

Adverb question—when/where/how.

during the hurricane–question–when. So it is an adverb.

I like the red pen.

red –describes a pen ( noun)–this –red pen altogether makes an adjective phrase.