What is important for tidal forces is not the absolute gravity, but the differential gravity across the planet, that is, how different is the force of gravity is atat a point on the Earth's surface near the sun relative to a point on the other side. Because the Sun isEarth's surface far away, gravity doesn't change much betweenfrom the two extremes on earthsun. However, ifIf you compare it with the moon, because the sun is much heavier, the result will be that the tidal force from the sun is about 0.43 that of the moon.
This is because ifSuppose two bodiesdifferent bodies in the sky that have the same apparent size in the sky, like the moon and the sun, then. Because the mass M of the object will grow as $r^3$ (because $M=4/3\rho\pi R^3$ and $R=\theta r$), so the gravitational force will actually growsgrow linearly with $r$. Where, where $r$ is the distance and $R$ is the radius of the object. So if two bodies have the moonsame apparent size (such as the Moon and the sun hadSun) and the same density, the tidal force would be the same. The density of the moon is about 2.3 times larger than that of the sun, that is why the tidal force is larger by that factor.