I know that I am conscious and I cannot doubt it, but at the same time I cannot prove it to you. Furthermore, I strongly suspect and assume that other human beings are conscious, but I cannot verify this scientifically (i.e. measure it somehow).
This means that consciousness is a phenomenon that cannot be doubted (in the first person) but possibly eludes the scientific method. This really grates people who have a strong emotional attachment to the dogma that science must be able to account for all of reality.
People confuse the metaphysical commitment of materialism with scientific fact, and thus conclude that consciousness must be an emergent phenomenon of neural complexity, and that it is silly to believe that anything else could be conscious. This feels like an hyper-rational, scientific stance, but really it is not. Science works perfectly fine within other metaphysical commitments such as idealism, panpsychism, etc.
This is not to say that materialism is not correct, I do not know if it is or not. My point is that many contemporary "scientific types" tend to believe that their certainty about materialism being the correct framework is grounded on science, when it is not. It is often an unexamined and quasi-religious belief.