Is it accurate to call P(D|H) the 'likelihood' in Bayesian inference? In Bayesian inference, the term $P(D|H)$ is sometimes called the likelihood, as in the example below from Olshausen (2004):

$$ P(H|D) = \frac{P(D|H)P(H)}{P(D)} $$
The term $P(D|H)$ is called the likelihood function and it assesses the probability of the observed data arising from the hypothesis...

However, in his introductory paper to the term likelihood, Etz (2018) states the following:

A critical difference between probability and likelihood is in the interpretation of what is fixed and what can vary. In the case of a conditional probability, $P(D|H)$, the hypothesis is fixed and the data are free to vary. Likelihood, however, is the opposite. The likelihood of a hypothesis, $L(H)$, is conditioned on the data, as if they are fixed while the hypothesis can vary. The distinction is subtle, so it is worth repeating: For conditional probability, the hypothesis is treated as a given, and the data are free to vary. For likelihood, the data are treated as a given, and the hypothesis varies.

In other words, Etz (2018) uses $P(D|H)$ as an example of a conditional probability that is 'the opposite' of likelihood. Assuming this is correct, why is $P(D|H)$ still often called the likelihood in Bayesian inference? Is this incorrect?

Note that the likelihood function as defined by Etz is still given by the same conditional probability. I.e.:
$$
L(H) = p(D|H)
$$
When we write it as $L(H)$ (or $\mathcal{L}(H)$, or similar), we emphasize that we're evaluating $p(D|H)$ as a function of $H$ (with $D$ fixed), rather than of $D$ (with $H$ fixed).
However, that doesn't mean that it's incorrect to say that $p(D|H)$ is the likelihood, in situations where we are indeed evaluating it as a function of $H$, conditioned on some given value of $D$. The typical situation in which this happens is when applying Bayes' rule, as in Olshausen's example, to obtain the posterior. By definition, that scenario has $D$ fixed, and so it satisfies the criteria for calling $p(D|H)$ the likelihood (or likelihood function).
It is only incorrect (in Etz' view, and many others, including myself) to call $p(D|H)$ the likelihood if you're using it in the "forward" direction, i.e. with $D$ not fixed.
One argument for using the word "likelihood" when we do is that the likelihood function does not (in general) integrate to 1. That is, $\int L(H=h)dh=\int p(D|H=h)dh\neq1$. Thus, the outputs of the function are clearly not proper probabilities (or probability densities). Conversely, we do have $\int p(D=x|H)dx=1$ (using $x$ here to prevent confusion with the $d$ from the integral), which illustrates that in that case, we are dealing with probabilities (or probability densities). You can see that Olshausen's usage is in accordance with this principle: his likelihood does not (necessarily) integrate to 1 either.
