A timeout error occurs when a sql procedure, query, update etc. runs longer than its query timeout period.
A deadlock occures when two process interact as follows.
Process 1 has locked table A and needs table B
Process 2 has locked table B and needs table A
Since neither process can complete without the other giving up the lock it already has, you have a deadlock.