Why document.querySelectorAll () returns a NodeList object instead of a HTMLCollection object

HTMLCollection
NodeList(,)

document.querySelectorAll()Element(),
(),NodeList,HTMLCollection?
html:
<div id="parent">
    <div id="child">
        <p class="PElement">Hello

<p class="PElement">JavaScript

</div> </div>
JavaScript:
var pEles = document.querySelectorAll(".PElement");
console.log(pEles);
,:

Menu