Thanks for your reading. Suppose we have two $\mathbb{Z}_p$-modules $A,B$. Do we always have $A \otimes_{\mathbb{Z}} B \simeq A \otimes_{\mathbb{Z}_p} B$, as abelian groups or $\mathbb{Z}_p$-modules? Here $\mathbb{Z}_p$-module could be given by multiplication on left or right item of the tensor. If not, in which cases is it true?
The motivation is when I read many arithmetic geometry papers, I see many authors will just write tensor without subscript, which I think means tensor over $\mathbb{Z}$, though according to background of text it should be tensor over $\mathbb{Z}_p$.
I get some hints from @Geoffrey Trang. For a commutative ring $R$ and two $R$-modules $A$ and $B$, where every $\mathbb{Z}$-linear map between $R$-modules is automatically $R$ -linear, we can have the two tensor isomorphic as abelian groups. It is true for $R=Z/nZ$, but also for $R=\mathbb{Q}$, and more generally, whenever $\mathbb{Z} \rightarrow R$ is an epimorphism in the category of commutative rings. So, I think since $\mathbb{Z}→\mathbb{Z}_p$ is an epimorphism in the category (and by completion under $p$-adic topology and definition of epimorphism), we have the two tensor over $\mathbb{Z}$ and $\mathbb{Z}_p$ are isomorphic as abelian groups.
Besides, the two $\mathbb{Z}_p$-module structure on $A \otimes_{\mathbb{Z}} B$ are the same also due to $\mathbb{Z} \rightarrow \mathbb{Z}_p$ is epimorphism. And it will be true for any $\mathbb{Z} \rightarrow R$ epimorphism. This point is obtained also by @Geoffrey Trang's hint.
Are the results listed above right? If right, why the equivalence of the two kinds of linear maps, $\mathbb{Z},R$ gives the equivalence of the two tensor?( I guess by some hom-tensor adjunction?)
And, why epimorphism condition gives us the equivalence of the two kinds of linear maps, and the equivalence of the two kinds of module? Moreover, is the converse of the question true? Like if the two kinds of linear maps are equivalent, do we have $\mathbb{Z} \rightarrow R$ epimorphism?