Enviar por SMS: The impact of ultraviolet heating and cooling on the dynamics and observability of lava planet atmospheres