Answer: Because a compound is formed by at least two elements, and here we have only one.
Step-by-step explanation:
A compound is defined as:
"A substance that is formed when two or more elements are chemical bonded together"
And in this case, we have two hydrogen atoms bonded together, so we have the bond, but there is only one element, and we need to have at least two elements to have a compound.