"that like" vs "like that"

They are two different meanings of the word like.

I like that = that pleases me. This is the verb to like.

What was that like? = how was it? This uses like as a preposition meaning similar to.

https://dictionary.cambridge.org/dictionary/english/like