I've heard the following causes, but I cannot substantiate them:
[1] Improper patient usage. Primarily, not taking the prescribed dosage long enough to eradicate all of the target bacterium, leaving (enough) survivors to meaningfully propagate their resistance. Typical to the "Hey I think my sinus infection is gone already! Adios remaining pills."
[2] Improper targeting. A functional antibiotic used on the wrong type of bacterium, or even usage against viruses.
Are there any others? Are my [1] and [2] debunked?