Hi @Mario Rivas,
As we discussed that you have enabled Microsoft Defender recently, Please Enable just-in-time access at VM and try accessing with bastion. Click on configure and request access by giving source IP.
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!