- πΊπΈUnited States illeace
The documented purpose of hook_h5p_styles_alter() is to allow you to add additional styles to H5Ps. This first step of the creation process you describe is when the H5P hub is visible, but you have not yet selected which H5P type you'd like to use. Once you've selected a specific H5P, then that H5P is loaded and the Drupal module calls this hook so it can include any custom CSS you've specified. This seems like the intended behavior so I think this is working as designed.