What prevent someone to not use the receiver address of one transaction as the sender in another one? Title may be confusing you, and to be honest I am also confused how things work and I am new to this crypto world so sorry in advance if I am not using the correct words.
I try to explain :
Let say Alice wants to send cryptos to Bob.
A sends to B
(address of A) to (address of B)

Because blockchains are public, and both address will be known to each one, what process do prevent Bob from not using Alice address as the sender in another transaction ?
B pretends to be A
using A to send to B
(address of A) to (address of B) without A consent

The reason why I am confused right now about this question is because in Dapps you can use a wallet like Metamask to make some transactions, which means you only needs an address. So how is that secure.
If someone code a program using the same logic as Metamask, what prevents him to use another person's address in Dapps and to smart contracts? (Similar to changing the ip field in http requests, which was a popular hacking technique for man in the middle before https was widely used).
Thanks in advance for helping me to understand.
what process do prevent Bob from not using Alice address as the sender in another transaction

Bob doesn't know Alice's private key.

A transaction requires that a kind of digital signature be included with the amounts being spent (e.g. From Alice's address)  All other Bitcoin users (wallets, miners, etc) check the signature.
the signature is just a complex mathematical process that proves someone knows a private key without ever disclosing the private key. The private key is just a large number that is kept secret by the user (e.g. Alice).

Further reading:

Is it true that all the bitcoins in existence are on the blockchain (the ledge), but it just depends on who the owner (address) is?


Some other things worth remembering:

Bitcoin has rules but no rulers.
Bitcoin is electronic cash
There are no accounts in the Bitcoin network
Wallets don't contain money.
Addresses don't identify people, businesses or places.
Bitcoin isn't sent to, or from, addresses.
Bitcoin is never really in transit.
Bitcoins don't survive transactions.
Bitcoins don't exist as entities.
The blockchain is not a ledger (it's a transaction journal)
Miners don't have any special privileges (they exercise a role that has two special rewards).

The above are intended to guide readers away from misconceptions, not as a self-evident explanation of the points made.