Rigidbody not detecting all collisions

Godot Version

4.2

Question

Im making a top down shooter, i have already done my weapon system and now im working on enemys. I keep having this issue:
The bullets keep bouncing on my enemy, but sometimes they dont detect the collision, so the enemy doesnt get hurt, you can see the issue in this video


you will see that, sometimes, the enemys healt (the number that starts in 10), is affected by the bullet. But sometimes it just bounces.

Im making the damage in the collision detection inside the bullet script:

this is the bullet scene, wich parent node is a rigidbody2d and collision layer:
image

and finally, this is my enemy scene and collision layer, wich is a characterbody2d:

So, any ideas? Im going crazy about this

PS: I know the code is mostly in spanish, please ask if you dont understand something!!!