Place redstone dust directly above a stick in the crafting grid. Mojang's Bedrock recipe reference specifies this vertical arrangement. Ordinary lighting torches are a different item.
An active torch supplies redstone signal strength 15. Connected dust carries the signal away, losing strength along the wire. A torch does not power the block on which it is mounted.
For example, a torch beside a redstone lamp can power it, but a torch mounted directly on that lamp does not power its own supporting block.
Powering the torch's supporting block switches the torch off. Removing that input allows its output to return. This makes the torch an inverter: an active input suppresses the output, while an inactive input permits output.
The relevant input is power to the supporting block; placing a power source somewhere nearby is not by itself a description of the connection.
Java and Bedrock differ in redstone implementation and update behavior. A larger circuit using torches should therefore be checked in its intended edition, even when its basic inversion principle is shared.
Java 1.21.2 updated models and UV mapping for torches and blocks containing redstone torches. This is a visual version note, not a claim of a changed inversion rule.