I don't really know for sure, but,

I've heard it's because the dog doesn't see the difference between
peeing on a pad (inside) with peeing any place else (inside). Do you place
her on the pad yourself, or let her go to it on her own?