Tides are only due to mass. Hot vs. cold mass is not a consideration. Two bodies (masses) will have gravitational attraction. Space objects are in motion, so gravity has noticeable effects when either one or both are very massive, or they are close. Mercury is very effected for both reasons since it is close to the Sun, and the Sun, by any label, is very massive (330,000x that of Earth, IIRC).
The mass effect is linear, and the distance effect is by the inverse square. IOW, doubling the mass of one will double the force of gravity, but reducing the distance in half will increase gravity 4x.
Given that, tides vary as the inverse cube. So if you cut the distance in half, the tidal forces increase 8x! This is why so many moons that form close to their host planet, or host star, are tidally locked. It is also why asteroids will break into pieces as they get very close to the planet's surface. [see Roche Limit]