You seem to have made a miscalculation in your t-values
If you apply
$$t = \frac{x_1-x_2}{\sqrt{sd_1^2/n+sd_2^2/n}}$$
then your second result seems to have not been using $n=30$ (but instead the value $n=15$).
That aside
I expected that adding more observations would make the result more statistically significant, but instead the p-value increased and the result is no longer significant at α = 0.05.
P-values do not necessarily decrease with increasing observations. (that's only true when there is truly an effect, and even then due to statistical variations the values will fluctuate and can also rise)
What primarily changes is the accuracy of the estimate that you make.
Confidence intervals can illustrate this very well.
With n=15 you got the estimated mean difference A-B is 4.2 with a 95% confidence interval of $[0.45 , 7.94]$.
With n=30 you got the estimated mean difference A-B of 3.6 with a 95% confidence interval of $[0.91 , 6.29]$.
(so your second result was still significant if you change this $n$ in the formula, but say that we got an effect of 2.6 with interval $[-0.09 , 5.29]$)
So, more observations will make a result more accurate. Typically the confidence interval, the error of the estimate will decrease. As you see in the figures above, the interval got smaller.
But at the same time the estimate can shift.
Significance (in null hypothesis testing) doesn't mean whether your result is accurate or not but whether 'zero effect' is within the range of accuracy or not.
I used these calculations in r to get the intervals
(52.3-48.1)+
(sqrt(4.8^2+5.2^2)/sqrt(15))*
qt(0.025,28)*c(1,-1)
# 0.4571466 7.9428534
(52.6-49.0)+
(sqrt(5.0^2+5.4^2)/sqrt(30))*
qt(0.025,58)*c(1,-1)
# 0.9104385 6.2895615