The area where it is and the fact that it happened overnight, makes me believe he is biting his tail.  I don’t know why because he has plenty of tall plants to rest on.  Keep him in clean water, 70% water changes daily.  Normally I would say salt too but your tank is heavily planted.
				
			 
	             
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		