The translations mention it is envy which is mentioned in the surah. For example
YUSUFALI: And from the mischief of the envious one as he practises envy.
PICKTHAL: And from the evil of the envier when he envieth.
SHAKIR: And from the evil of the envious when he envies
and all the Ulema I have read, they translate “Hasad” as envy. And the one you’re referring to, where you would want something your friend has without the intention of causing harm to your friend, Ulema say that that’s known as “Ghibtah” which is permissible.